package com.iqiyi.pps.epg.core.service.task;

import com.iqiyi.pps.epg.core.model.task.ProgramSimpleTask;
import com.iqiyi.pps.epg.core.model.task.SimpleTask;

import java.util.List;

/**
 * Created by karkarrotxu on 2016/10/25.
 */
public interface ProgramSimpleTaskService {
    public void batchUpdateList(List<ProgramSimpleTask> list);

    public List<ProgramSimpleTask> findList(int taskType, int taskStatus);

    public void saveTask(ProgramSimpleTask task);

    public int interruptTask(long entityId, int taskType);

    public ProgramSimpleTask findById(long id);
}
